package com.example.dao;

import com.example.model.pojo.ProblemCase;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description //TODO
 * @Date 2022/9/13 19:16
 * @Author lonng
 **/
public interface ProblemCaseDao extends JpaRepository<ProblemCase,Integer> {
    ProblemCase findByPid(Integer pid);
    List<ProblemCase> findAllByPid(Integer pid);
}
